<?php
if($act=="editcontent")
{
    $sql_select = "SELECT * FROM tblblog WHERE iId = $id";

	$rs=$dbsql->query($sql_select);
	if($dbsql->num_rows($rs)==0)
	{
		page_transfer("Content not exists",$pagetr);
	}
	$content= $dbsql->fetch_array($rs);
	Select_Tag($id,'blog%');
}
else
{
    $content                = array();
    $content['iParentId']   = $id;
    $content['iStatus']     = 1;
    $id                     = 0;
}
?>